import request from '@/utils/request'

// 查询物流园档案列表
export function listLogisticsParkFile(query) {
  return request({
    url: '/ys/logisticsParkFile/list',
    method: 'get',
    params: query
  })
}

// 查询物流园档案详细
export function getLogisticsParkFile(id) {
  return request({
    url: '/ys/logisticsParkFile/' + id,
    method: 'get'
  })
}

// 新增物流园档案
export function addLogisticsParkFile(data) {
  return request({
    url: '/ys/logisticsParkFile',
    method: 'post',
    data: data
  })
}

// 修改物流园档案
export function updateLogisticsParkFile(data) {
  return request({
    url: '/ys/logisticsParkFile',
    method: 'put',
    data: data
  })
}

// 删除物流园档案
export function delLogisticsParkFile(id) {
  return request({
    url: '/ys/logisticsParkFile/' + id,
    method: 'delete'
  })
}
